<!doctype html>
<html class="default no-js">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>TopologyDescription | mongodb</title>
	<meta name="description" content="Documentation for mongodb">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="stylesheet" href="../assets/css/main.css">
	<script async src="../assets/js/search.js" id="search-script"></script>
</head>
<body>
<header>
	<div class="tsd-page-toolbar">
		<div class="container">
			<div class="table-wrap">
				<div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base="..">
					<div class="field">
						<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
						<input id="tsd-search-field" type="text" />
					</div>
					<ul class="results">
						<li class="state loading">Preparing search index...</li>
						<li class="state failure">The search index is not available</li>
					</ul>
					<a href="../index.html" class="title">mongodb</a>
				</div>
				<div class="table-cell" id="tsd-widgets">
					<div id="tsd-filter">
						<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
						<div class="tsd-filter-group">
							<div class="tsd-select" id="tsd-filter-visibility">
								<span class="tsd-select-label">All</span>
								<ul class="tsd-select-list">
									<li data-value="public">Public</li>
									<li data-value="protected">Public/Protected</li>
									<li data-value="private" class="selected">All</li>
								</ul>
							</div>
							<input type="checkbox" id="tsd-filter-inherited" checked />
							<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
							<input type="checkbox" id="tsd-filter-externals" checked />
							<label class="tsd-widget" for="tsd-filter-externals">Externals</label>
						</div>
					</div>
					<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
				</div>
			</div>
		</div>
	</div>
	<div class="tsd-page-title">
		<div class="container">
			<ul class="tsd-breadcrumb">
				<li>
					<a href="../modules.html">mongodb</a>
				</li>
				<li>
					<a href="topologydescription.html">TopologyDescription</a>
				</li>
			</ul>
			<h1>Class TopologyDescription</h1>
		</div>
	</div>
</header>
<div class="container container-main">
	<div class="row">
		<div class="col-8 col-content">
			<section class="tsd-panel tsd-comment">
				<div class="tsd-comment tsd-typography">
					<div class="lead">
						<p>Representation of a deployment of servers</p>
					</div>
				</div>
			</section>
			<section class="tsd-panel tsd-hierarchy">
				<h3>Hierarchy</h3>
				<ul class="tsd-hierarchy">
					<li>
						<span class="target">TopologyDescription</span>
					</li>
				</ul>
			</section>
			<section class="tsd-panel-group tsd-index-group">
				<h2>Index</h2>
				<section class="tsd-panel tsd-index-panel">
					<div class="tsd-index-content">
						<section class="tsd-index-section ">
							<h3>Constructors</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-constructor tsd-parent-kind-class"><a href="topologydescription.html#constructor" class="tsd-kind-icon">constructor</a></li>
							</ul>
						</section>
						<section class="tsd-index-section ">
							<h3>Properties</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="topologydescription.html#commonwireversion" class="tsd-kind-icon">common<wbr>Wire<wbr>Version</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="topologydescription.html#compatibilityerror" class="tsd-kind-icon">compatibility<wbr>Error</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="topologydescription.html#compatible" class="tsd-kind-icon">compatible</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="topologydescription.html#heartbeatfrequencyms" class="tsd-kind-icon">heartbeat<wbr>FrequencyMS</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="topologydescription.html#localthresholdms" class="tsd-kind-icon">local<wbr>ThresholdMS</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="topologydescription.html#logicalsessiontimeoutminutes" class="tsd-kind-icon">logical<wbr>Session<wbr>Timeout<wbr>Minutes</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="topologydescription.html#maxelectionid" class="tsd-kind-icon">max<wbr>Election<wbr>Id</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="topologydescription.html#maxsetversion" class="tsd-kind-icon">max<wbr>Set<wbr>Version</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="topologydescription.html#servers" class="tsd-kind-icon">servers</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="topologydescription.html#setname" class="tsd-kind-icon">set<wbr>Name</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="topologydescription.html#stale" class="tsd-kind-icon">stale</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="topologydescription.html#type" class="tsd-kind-icon">type</a></li>
							</ul>
						</section>
						<section class="tsd-index-section ">
							<h3>Accessors</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-get-signature tsd-parent-kind-class"><a href="topologydescription.html#error" class="tsd-kind-icon">error</a></li>
								<li class="tsd-kind-get-signature tsd-parent-kind-class"><a href="topologydescription.html#hasdatabearingservers" class="tsd-kind-icon">has<wbr>Data<wbr>Bearing<wbr>Servers</a></li>
								<li class="tsd-kind-get-signature tsd-parent-kind-class"><a href="topologydescription.html#hasknownservers" class="tsd-kind-icon">has<wbr>Known<wbr>Servers</a></li>
							</ul>
						</section>
						<section class="tsd-index-section ">
							<h3>Methods</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="topologydescription.html#hasserver" class="tsd-kind-icon">has<wbr>Server</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="topologydescription.html#update" class="tsd-kind-icon">update</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="topologydescription.html#updatefromsrvpollingevent" class="tsd-kind-icon">update<wbr>From<wbr>Srv<wbr>Polling<wbr>Event</a></li>
							</ul>
						</section>
					</div>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Constructors</h2>
				<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class">
					<a name="constructor" class="tsd-anchor"></a>
					<h3>constructor</h3>
					<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">new <wbr>Topology<wbr>Description<span class="tsd-signature-symbol">(</span>topologyType<span class="tsd-signature-symbol">: </span><a href="../modules.html#topologytype" class="tsd-signature-type" data-tsd-kind="Variable">TopologyType</a>, serverDescriptions<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="serverdescription.html" class="tsd-signature-type" data-tsd-kind="Class">ServerDescription</a><span class="tsd-signature-symbol">&gt;</span>, setName<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span>, maxSetVersion<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, maxElectionId<span class="tsd-signature-symbol">?: </span><a href="objectid.html" class="tsd-signature-type" data-tsd-kind="Class">ObjectId</a>, commonWireVersion<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/topologydescriptionoptions.html" class="tsd-signature-type" data-tsd-kind="Interface">TopologyDescriptionOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="topologydescription.html" class="tsd-signature-type" data-tsd-kind="Class">TopologyDescription</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/sdam/topology_description.ts#L44">src/sdam/topology_description.ts:44</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Create a TopologyDescription</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>topologyType: <a href="../modules.html#topologytype" class="tsd-signature-type" data-tsd-kind="Variable">TopologyType</a></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> serverDescriptions: <span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="serverdescription.html" class="tsd-signature-type" data-tsd-kind="Class">ServerDescription</a><span class="tsd-signature-symbol">&gt;</span></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> setName: <span class="tsd-signature-type">string</span></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> maxSetVersion: <span class="tsd-signature-type">number</span></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> maxElectionId: <a href="objectid.html" class="tsd-signature-type" data-tsd-kind="Class">ObjectId</a></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> commonWireVersion: <span class="tsd-signature-type">number</span></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> options: <a href="../interfaces/topologydescriptionoptions.html" class="tsd-signature-type" data-tsd-kind="Interface">TopologyDescriptionOptions</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="topologydescription.html" class="tsd-signature-type" data-tsd-kind="Class">TopologyDescription</a></h4>
						</li>
					</ul>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Properties</h2>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="commonwireversion" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> common<wbr>Wire<wbr>Version</h3>
					<div class="tsd-signature tsd-kind-icon">common<wbr>Wire<wbr>Version<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/sdam/topology_description.ts#L44">src/sdam/topology_description.ts:44</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="compatibilityerror" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> compatibility<wbr>Error</h3>
					<div class="tsd-signature tsd-kind-icon">compatibility<wbr>Error<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/sdam/topology_description.ts#L40">src/sdam/topology_description.ts:40</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="compatible" class="tsd-anchor"></a>
					<h3>compatible</h3>
					<div class="tsd-signature tsd-kind-icon">compatible<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/sdam/topology_description.ts#L39">src/sdam/topology_description.ts:39</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="heartbeatfrequencyms" class="tsd-anchor"></a>
					<h3>heartbeat<wbr>FrequencyMS</h3>
					<div class="tsd-signature tsd-kind-icon">heartbeat<wbr>FrequencyMS<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/sdam/topology_description.ts#L42">src/sdam/topology_description.ts:42</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="localthresholdms" class="tsd-anchor"></a>
					<h3>local<wbr>ThresholdMS</h3>
					<div class="tsd-signature tsd-kind-icon">local<wbr>ThresholdMS<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/sdam/topology_description.ts#L43">src/sdam/topology_description.ts:43</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="logicalsessiontimeoutminutes" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> logical<wbr>Session<wbr>Timeout<wbr>Minutes</h3>
					<div class="tsd-signature tsd-kind-icon">logical<wbr>Session<wbr>Timeout<wbr>Minutes<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/sdam/topology_description.ts#L41">src/sdam/topology_description.ts:41</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="maxelectionid" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> max<wbr>Election<wbr>Id</h3>
					<div class="tsd-signature tsd-kind-icon">max<wbr>Election<wbr>Id<span class="tsd-signature-symbol">:</span> <a href="objectid.html" class="tsd-signature-type" data-tsd-kind="Class">ObjectId</a></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/sdam/topology_description.ts#L36">src/sdam/topology_description.ts:36</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="maxsetversion" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> max<wbr>Set<wbr>Version</h3>
					<div class="tsd-signature tsd-kind-icon">max<wbr>Set<wbr>Version<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/sdam/topology_description.ts#L35">src/sdam/topology_description.ts:35</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="servers" class="tsd-anchor"></a>
					<h3>servers</h3>
					<div class="tsd-signature tsd-kind-icon">servers<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="serverdescription.html" class="tsd-signature-type" data-tsd-kind="Class">ServerDescription</a><span class="tsd-signature-symbol">&gt;</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/sdam/topology_description.ts#L37">src/sdam/topology_description.ts:37</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="setname" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> set<wbr>Name</h3>
					<div class="tsd-signature tsd-kind-icon">set<wbr>Name<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/sdam/topology_description.ts#L34">src/sdam/topology_description.ts:34</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="stale" class="tsd-anchor"></a>
					<h3>stale</h3>
					<div class="tsd-signature tsd-kind-icon">stale<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/sdam/topology_description.ts#L38">src/sdam/topology_description.ts:38</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="type" class="tsd-anchor"></a>
					<h3>type</h3>
					<div class="tsd-signature tsd-kind-icon">type<span class="tsd-signature-symbol">:</span> <a href="../modules.html#topologytype" class="tsd-signature-type" data-tsd-kind="Variable">TopologyType</a></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/sdam/topology_description.ts#L33">src/sdam/topology_description.ts:33</a></li>
						</ul>
					</aside>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Accessors</h2>
				<section class="tsd-panel tsd-member tsd-kind-get-signature tsd-parent-kind-class">
					<a name="error" class="tsd-anchor"></a>
					<h3>error</h3>
					<ul class="tsd-signatures tsd-kind-get-signature tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> error<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="mongoerror.html" class="tsd-signature-type" data-tsd-kind="Class">MongoError</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/sdam/topology_description.ts#L286">src/sdam/topology_description.ts:286</a></li>
								</ul>
							</aside>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="mongoerror.html" class="tsd-signature-type" data-tsd-kind="Class">MongoError</a></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-get-signature tsd-parent-kind-class">
					<a name="hasdatabearingservers" class="tsd-anchor"></a>
					<h3>has<wbr>Data<wbr>Bearing<wbr>Servers</h3>
					<ul class="tsd-signatures tsd-kind-get-signature tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> hasDataBearingServers<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/sdam/topology_description.ts#L308">src/sdam/topology_description.ts:308</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Determines if this topology description has a data-bearing server available.</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-get-signature tsd-parent-kind-class">
					<a name="hasknownservers" class="tsd-anchor"></a>
					<h3>has<wbr>Known<wbr>Servers</h3>
					<ul class="tsd-signatures tsd-kind-get-signature tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> hasKnownServers<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/sdam/topology_description.ts#L299">src/sdam/topology_description.ts:299</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Determines if the topology description has any known servers</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
						</li>
					</ul>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Methods</h2>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="hasserver" class="tsd-anchor"></a>
					<h3>has<wbr>Server</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">has<wbr>Server<span class="tsd-signature-symbol">(</span>address<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/sdam/topology_description.ts#L316">src/sdam/topology_description.ts:316</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Determines if the topology has a definition for the provided address</p>
								</div>
								<dl class="tsd-comment-tags">
									<dt>internal</dt>
									<dd></dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>address: <span class="tsd-signature-type">string</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="update" class="tsd-anchor"></a>
					<h3>update</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">update<span class="tsd-signature-symbol">(</span>serverDescription<span class="tsd-signature-symbol">: </span><a href="serverdescription.html" class="tsd-signature-type" data-tsd-kind="Class">ServerDescription</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="topologydescription.html" class="tsd-signature-type" data-tsd-kind="Class">TopologyDescription</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/sdam/topology_description.ts#L170">src/sdam/topology_description.ts:170</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Returns a copy of this description updated with a given ServerDescription</p>
								</div>
								<dl class="tsd-comment-tags">
									<dt>internal</dt>
									<dd></dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>serverDescription: <a href="serverdescription.html" class="tsd-signature-type" data-tsd-kind="Class">ServerDescription</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="topologydescription.html" class="tsd-signature-type" data-tsd-kind="Class">TopologyDescription</a></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="updatefromsrvpollingevent" class="tsd-anchor"></a>
					<h3>update<wbr>From<wbr>Srv<wbr>Polling<wbr>Event</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">update<wbr>From<wbr>Srv<wbr>Polling<wbr>Event<span class="tsd-signature-symbol">(</span>ev<span class="tsd-signature-symbol">: </span><a href="srvpollingevent.html" class="tsd-signature-type" data-tsd-kind="Class">SrvPollingEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="topologydescription.html" class="tsd-signature-type" data-tsd-kind="Class">TopologyDescription</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/sdam/topology_description.ts#L136">src/sdam/topology_description.ts:136</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Returns a new TopologyDescription based on the SrvPollingEvent</p>
								</div>
								<dl class="tsd-comment-tags">
									<dt>internal</dt>
									<dd></dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>ev: <a href="srvpollingevent.html" class="tsd-signature-type" data-tsd-kind="Class">SrvPollingEvent</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="topologydescription.html" class="tsd-signature-type" data-tsd-kind="Class">TopologyDescription</a></h4>
						</li>
					</ul>
				</section>
			</section>
		</div>
		<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
			<nav class="tsd-navigation primary">
				<ul>
					<li class=" ">
						<a href="../modules.html">Exports</a>
					</li>
				</ul>
			</nav>
			<nav class="tsd-navigation secondary menu-sticky">
				<ul class="before-current">
				</ul>
				<ul class="current">
					<li class="current tsd-kind-class">
						<a href="topologydescription.html" class="tsd-kind-icon">Topology<wbr>Description</a>
						<ul>
							<li class=" tsd-kind-constructor tsd-parent-kind-class">
								<a href="topologydescription.html#constructor" class="tsd-kind-icon">constructor</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="topologydescription.html#commonwireversion" class="tsd-kind-icon">common<wbr>Wire<wbr>Version</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="topologydescription.html#compatibilityerror" class="tsd-kind-icon">compatibility<wbr>Error</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="topologydescription.html#compatible" class="tsd-kind-icon">compatible</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="topologydescription.html#heartbeatfrequencyms" class="tsd-kind-icon">heartbeat<wbr>FrequencyMS</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="topologydescription.html#localthresholdms" class="tsd-kind-icon">local<wbr>ThresholdMS</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="topologydescription.html#logicalsessiontimeoutminutes" class="tsd-kind-icon">logical<wbr>Session<wbr>Timeout<wbr>Minutes</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="topologydescription.html#maxelectionid" class="tsd-kind-icon">max<wbr>Election<wbr>Id</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="topologydescription.html#maxsetversion" class="tsd-kind-icon">max<wbr>Set<wbr>Version</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="topologydescription.html#servers" class="tsd-kind-icon">servers</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="topologydescription.html#setname" class="tsd-kind-icon">set<wbr>Name</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="topologydescription.html#stale" class="tsd-kind-icon">stale</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="topologydescription.html#type" class="tsd-kind-icon">type</a>
							</li>
							<li class=" tsd-kind-get-signature tsd-parent-kind-class">
								<a href="topologydescription.html#error" class="tsd-kind-icon">error</a>
							</li>
							<li class=" tsd-kind-get-signature tsd-parent-kind-class">
								<a href="topologydescription.html#hasdatabearingservers" class="tsd-kind-icon">has<wbr>Data<wbr>Bearing<wbr>Servers</a>
							</li>
							<li class=" tsd-kind-get-signature tsd-parent-kind-class">
								<a href="topologydescription.html#hasknownservers" class="tsd-kind-icon">has<wbr>Known<wbr>Servers</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="topologydescription.html#hasserver" class="tsd-kind-icon">has<wbr>Server</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="topologydescription.html#update" class="tsd-kind-icon">update</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="topologydescription.html#updatefromsrvpollingevent" class="tsd-kind-icon">update<wbr>From<wbr>Srv<wbr>Polling<wbr>Event</a>
							</li>
						</ul>
					</li>
				</ul>
				<ul class="after-current">
				</ul>
			</nav>
		</div>
	</div>
</div>
<footer class="with-border-bottom">
	<div class="container">
		<h2>Legend</h2>
		<div class="tsd-legend-group">
			<ul class="tsd-legend">
				<li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li>
				<li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
				<li class="tsd-kind-accessor tsd-parent-kind-class"><span class="tsd-kind-icon">Accessor</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited constructor</span></li>
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li>
				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited accessor</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-constructor tsd-parent-kind-interface"><span class="tsd-kind-icon">Constructor</span></li>
				<li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private method</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li>
			</ul>
		</div>
	</div>
</footer>
<div class="container tsd-generator">
	<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p>
</div>
<div class="overlay"></div>
<script src="../assets/js/main.js"></script>
</body>
</html>